<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/scripts/jquery.js"></script>
  </head>
  <body>
      <script>
          $(document).ready(function(){
              $("#split").click(function(){
                  var words = $("#words").val();
                  $.ajax({
                       type: "POST",
                       url: "<?php echo $this->baseUrl;?>/split/split",
                       data: "words="+words,
                       success: function(msg){
                         $("#result").val(msg);
                       }
                    });
              })

          })

      </script>
      <textarea name="words" id="words"></textarea>
      <input type="button" value="拆分" id="split"><br><br>
      <textarea name="result" id="result"></textarea>
  </body>
</html>
